package com.pingan.internal.point.shopping.service;


import com.pingan.internal.point.shopping.controller.form.GoodsFinishOrder;
import com.pingan.internal.point.shopping.controller.form.GoodsWithdrawForm;
import com.pingan.internal.point.shopping.controller.form.GoodsDeliveryForm;
import com.pingan.internal.point.shopping.controller.form.GoodsOrderForm;
import com.pingan.internal.point.shopping.controller.form.GoodsOrderListForm;
import com.pingan.internal.point.shopping.controller.response.DataPageList;
import com.pingan.internal.point.shopping.vo.GoodsOrderVo;

public interface GoodsOrderService {
    DataPageList<GoodsOrderVo> list(String username);

    DataPageList<GoodsOrderVo> listPage(GoodsOrderListForm form);


    String generateOrder(GoodsOrderForm form);

    String withdrawOrder(GoodsWithdrawForm form);

    String deliverOrder(GoodsDeliveryForm form);

    String finishOrder(GoodsFinishOrder form);

}
